<?php

/*
 * What protocol to use?
 * mail, sendmail, smtp
 */
//$config['protocol'] = 'mail';

/*
 * SMTP server address and port
 */
//$config['smtp_host'] = '';
//$config['smtp_port'] = '';

/*
 * SMTP username and password.
 */
//$config['smtp_user'] = '';
//$config['smtp_pass'] = '';

/*
 * Heroku Sendgrid information.
 */
/*
$config['protocol'] = 'smtp';
$config['smtp_host'] = 'smtp.sendgrid.net';
$config['smtp_port'] = 587;
$config['smtp_user'] = $_SERVER['SENDGRID_USERNAME'];
$config['smtp_pass'] = $_SERVER['SENDGRID_PASSWORD'];
*/

if ( ! defined('BASEPATH')) exit('No direct script access allowed');  
/* 
| ------------------------------------------------------------------- 
| EMAIL CONFIG 
| ------------------------------------------------------------------- 
| Konfigurasi email keluar melalui mail server
| */   
$config['protocol']='smtp';  
$config['smtp_host']='ssl://smtp.googlemail.com';  
$config['smtp_port']='465';  
$config['smtp_timeout']='30';  
$config['smtp_user']='addies.ababa2@gmail.com';  
$config['smtp_pass']='rahasiayo';  
$config['charset']='utf-8';  
$config['newline']="\r\n";  
  
/* End of file email.php */  
/* Location: ./system/application/config/email.php */
